﻿
.l-grid
{
    position:relative;text-align:left;
}
thead th {
	text-align: center;
}
.l-grid-body-table tr.l-checked td
{
    background:#DCF8A8
}
.l-grid-popup
{
    background: #eee url(../images/grid/popup-line.gif) repeat-y -1px top;
	border: 1px solid #ccc;
	border-top: 0px;
	overflow: auto;
	left: 0px;
	position: absolute;
	z-index: 999; display:none;
}
.l-grid-row-cell-detail .l-grid-row-cell-inner{margin-left:0px; margin-right:0px; width:27px; overflow:hidden;}
.l-grid-row-cell-detail .l-grid-row-cell-inner span
{
    display:block; width:21px; height:21px; background:url('../images/grid/grid-detail-close.gif') no-repeat 5px 5px;
    cursor:pointer; overflow:hidden; margin: 6px 3px;
}
.l-grid-row-cell-detail .l-grid-row-cell-inner span.l-open
{
    background:url('../images/grid/grid-detail-open.gif') no-repeat 5px 5px;
}

.l-grid-row-cell-checkbox .l-grid-row-cell-inner{margin-left:0px; margin-right:0px;}
.l-grid-row-cell-checkbox span,.l-grid-hd-cell-checkbox .l-grid-hd-cell-inner div
{
    display:block; width:13px; height:13px; background:url('../images/controls/checkbox.gif') no-repeat;
    background-position:0px 0px;
    cursor:pointer; overflow:hidden; margin-left:7px; margin-top:3px;
}
.l-checked .l-grid-row-cell-checkbox span,.l-checked  .l-grid-hd-cell-checkbox .l-grid-hd-cell-inner div
{
      background-position:0px -13px;
}
.datagrid-selected-tr .l-grid-row-cell-checkbox span,.datagrid-selected-tr  .l-grid-hd-cell-checkbox .l-grid-hd-cell-inner div
{
      background-position:0px -13px;
}
.l-grid-hd-cell-checkbox
{
   padding:0; margin:0;
}
/*
    tree grid
*/
.l-grid-tree-space
{
    width:18px; height:20px; line-height:20px; overflow:hidden; float:left;
}
.l-grid-tree-link-open
{
    cursor:pointer;background:url('../images/grid/grid-tree-open.gif') no-repeat center;
}
.l-grid-tree-link-close
{
    cursor:pointer;background:url('../images/grid/grid-tree-close.gif') no-repeat center;
}
.l-grid1 .datagrid-box-b{overflow:hidden;}
.l-frozen .l-grid2 .datagrid-box-b{overflow-x:auto;}
.l-grid-row-alt .l-grid-row-cell-rownumbers,.l-grid-row-over .l-grid-row-cell-rownumbers,.l-grid-row-cell-rownumbers{ background:#E0ECFF;}

.zui-datagrid .l-grid2 .datagrid-box-b .table > tbody > tr > td:last-child {border-right-width:0px;}
.zui-datagrid .datagrid-box-h .table > thead > tr > th > div {position:absolute;top:0px;}
.zui-datagrid .datagrid-box-l .datagrid-box-h .table > thead > tr > th:last-child {border-right-width: 1px;}
.l-grid-detailpanel-inner{padding: 10px;}
